home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Total Animated Gifs
/
Total Animated Gifs.iso
/
Utilities
/
text
/
jseditor
/
jseditor.exe
/
RndMIDI.js
< prev
Wrap
Text File
|
1998-06-30
|
573b
|
30 lines
//MIDI music file random player
var nummidi = 9;
var now = new Date();
seconds = now.getSeconds();
y = (seconds + 1)/60;
x = math.ceil(y/(1/nummidi));
//below are listing of random midi files
if (x == (1))
midi=(".mid")
if (x == (2))
midi=(".mid")
if (x == (3))
midi=(".mid")
if (x == (4))
midi=(".mid")
if (x == (5))
midi=(".mid")
if (x == (6))
midi=(".mid")
if (x == (7))
midi=(".mid")
if (x == (8))
midi=(".mid")
if (x == (9))
midi=(".mid")
document.write("<EMBED SRC='"+ midi +"' WIDTH=200 HEIGHT=55 AUTOSTART=true LOOP=TRUE>")